package com.jy.rhin.model.body.zhongxingjsbsf;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import com.jy.rhin.model.CodeObject;
import lombok.Data;

@Data
public class ZhuYuanShi {
    //住院情况
    @XPath(path = "/entry/observation/code[@code='DE02.10.091.00']/../value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_10_091_00))
    CodeObject zhuYuanQK;
    //末次住院时间
    @XPath(path = "/entry/observation/code[@code='DE02.10.091.00']/../effectiveTime/@value")
    String moCiZYSJ;
}
